 "use strict";
var sugarfreeDirectives  = angular.module('sugarfreeApp.directives', []);
var sugarfreeFilters     = angular.module('sugarfreeApp.filters', []);
var sugarfreeRouts       = angular.module('sugarfreeApp.routs', []);
var sugarfreeServices    = angular.module('sugarfreeApp.services',[]);
var sugarfreeControllers = angular.module('sugarfreeApp.controllers', []);

var sugarfreeApp = angular.module('sugarfreeApp', [
  'ngRoute',
  'ngCookies',
  'ngMessages',
  'ngWebSocket',
  'ui.bootstrap',
  'ngTable',
  'ui.calendar',
  'ja.qr',
  'sugarfreeApp.directives',
  'sugarfreeApp.filters',
  'sugarfreeApp.routs',
  'sugarfreeApp.services',
  'sugarfreeApp.controllers'
]);


sugarfreeApp.run(['$rootScope',function($rootScope) {
    $rootScope.apiUrl = "";
    $rootScope.dateOptions = {
      formatYear: 'yy',
      startingDay: 1
    };
}]);
